package cn.com.thinvent.dispatch.dao;

import cn.com.thinvent.dispatch.entity.MajorExpenseDetails;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MajorExpenseDetailsMapper {

    void insert(MajorExpenseDetails record);

    void update(MajorExpenseDetails record);

    void delete(String id);

    MajorExpenseDetails select(String id);

    int batchInsert(@Param("list") List<MajorExpenseDetails> list);

    List<MajorExpenseDetails> getDetailsByIds(@Param("idList") List<String> idList);

    void deleteByIds(@Param("idList") List<String> idList);

}
